package com.k1998.mybatis.dao;

import com.k1998.mybatis.bean.Grade;
import com.k1998.mybatis.bean.GradeStudent;
import com.k1998.mybatis.bean.Student;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IGradeStudentDao {
    public List<GradeStudent> findGrade(@Param("name") String name, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    public GradeStudent detailGrade(Grade grade);
    public int getGradeCounts(@Param("name") String name);
    public int insertGrade(Grade grade);
    public int updateGrade(Grade grade);
    public int deleteGrade(Grade grade);
}
